package com.relytosoft.mizar.media.display.api.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 视频查看区域监控点
 *
 * @Author SunLi
 * @Date: 2022/4/18 11:49
 * @Version 1.0
 */
public class VideoChannelVo  implements Serializable {

    private static final long serialVersionUID = -8590286661619012712L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    @TableField(exist = false)
    private Integer id;

    /**
     * 类型 1 区域 2 通道
     */
    @ApiModelProperty(value = "类型")
    @TableField(exist = false)
    private Integer type;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @TableField(exist = false)
    private String name;
    /**
     * 父级ID
     */
    @ApiModelProperty(value = "父级ID")
    @TableField(exist = false)
    private Integer parentId;
    /**
     * 通道ID
     */
    @ApiModelProperty(value = "通道ID")
    @TableField(exist = false)
    private Integer channelId;
    /**
     * 主码流URL
     */
    @ApiModelProperty(value = "主码流URL")
    @TableField(exist = false)
    private String channelMainRtspUrl;
    /**
     * 子码流URL
     */
    @ApiModelProperty(value = "子码流URL")
    @TableField(exist = false)
    private String channelSubRtspUrl;
    /**
     * 第三方平台通道编码
     */
    @ApiModelProperty(value = "第三方平台通道编码")
    @TableField(exist = false)
    private String platformChannelCode;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @TableField(exist = false)
    private Integer sort;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getChannelMainRtspUrl() {
        return channelMainRtspUrl;
    }

    public void setChannelMainRtspUrl(String channelMainRtspUrl) {
        this.channelMainRtspUrl = channelMainRtspUrl;
    }

    public String getChannelSubRtspUrl() {
        return channelSubRtspUrl;
    }

    public void setChannelSubRtspUrl(String channelSubRtspUrl) {
        this.channelSubRtspUrl = channelSubRtspUrl;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public String getPlatformChannelCode() {
        return platformChannelCode;
    }

    public void setPlatformChannelCode(String platformChannelCode) {
        this.platformChannelCode = platformChannelCode;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "VideoChannelVo{" +
                "id=" + id +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", channelId=" + channelId +
                ", channelMainRtspUrl='" + channelMainRtspUrl + '\'' +
                ", channelSubRtspUrl='" + channelSubRtspUrl + '\'' +
                ", platformChannelCode='" + platformChannelCode + '\'' +
                ", sort=" + sort +
                '}';
    }
}
